package com.example.mannortycoon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mannortycoon.entity.UserPointingEntity;
import com.example.mannortycoon.uitl.PageUtils;
import com.example.mannortycoon.uitl.R;
import com.example.mannortycoon.vo.UserPointVo;

import java.util.List;

public interface UserPointingService extends IService<UserPointingEntity> {

    List<UserPointingEntity> info(Long id);

    List<UserPointVo> getUserPointList(Long userId);

    R userPoint(Long userId, Long seedId, Integer number);

    void saveUserPointing(Long userId,List<UserPointingEntity> pointList);

    Integer harvest(Long userId,Integer number);
}

